package com.xebest.web.service;

import com.xebest.web.form.XeVenFinSalesBillForm;
import com.xebest.web.form.XeVenInquirySheetForm;
import com.xebest.web.model.XeVenFinSalesBillEntity;
import com.xebest.web.model.XeVenStoreReceiptEntity;
import com.xebest.web.view.XeVenFinSalesBillView;

import java.util.List;

/**
 * @desc:收款单
 * @author: wangyp
 * @createTime: 2017/8/2 19:34
 * @history:
 * @version:v1.0
 */
public interface XeVenFinSalesBillService {

    /**
     * 收款单列表
     * @author: wangyp
     * @createTime: 2017/8/2 19:34
     * @history:
     * @param form
     * @return int
     */
    List<XeVenFinSalesBillView> queryXeVenFinSalesBillList (XeVenFinSalesBillForm form);

    /**
     *修改收款单信息
     * @Author:wangyp
     * @Description:查询收款单列表
     * @Date:下午 8:28 2017/08/12 0019
     * @params: * @param XeVenFinSalesBillForm
     * @return: List<XeVenFinSalesBillView>
     */
    int updateXeVenFinSalesBill(XeVenFinSalesBillForm form);

    /**
     * 插入收款单
     * @author: Wangyp
     * @createTime: 2017/8/4 15:58
     * @param :
     * @return:
     */
    int insertFinSalesBill(XeVenFinSalesBillEntity entity)throws Exception;

    /**
      * 插入收款单
      * @author: Wangyp
      * @createTime: 2017/8/14 17:59
      * @param : XeVenFinSalesBillEntity
      * @return:
      */
    int saveFinSalesBill(XeVenFinSalesBillEntity form) throws Exception;
}
